From: Florian Müllner Date: Thu, 23 Feb 2023 19:36:52 +0000 (+0100) Subject: shell/app: Also make recent when raising other windows X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~393^2^2~68 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=628866f7d2544cbf88d2c82ae6e6bf74e32bf39f;p=gnome-shell.git shell/app: Also make recent when raising other windows Mutter no longer picks the next focus window based on the stacking order, but on the active workspace's MRU list. So to keep the old activating behavior, raising other windows is no longer enough. Use the newly added raise_and_make_recent() method to also move the window to the front of the MRU list. https://gitlab.gnome.org/GNOME/mutter/-/issues/2540 Part-of: --- diff --git a/src/shell-app.c b/src/shell-app.c index 5c38a9c8d..c164e4eeb 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -459,7 +459,7 @@ shell_app_activate_window (ShellApp *app, MetaWindow *other_window = iter->data; if (other_window != window && meta_window_get_workspace (other_window) == workspace) - meta_window_raise (other_window); + meta_window_raise_and_make_recent (other_window); } g_slist_free (windows_reversed);